<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/common/taglibs.jsp"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta name="nav" content="2" />
<meta name="acc" content="0-0" />
<title>待办列表</title>
</head>
<body>
	<div id="heading" class="home">
		<h6>我的待办列表</h6>
	</div>
	<form action="${ctx }/business/home!input.action" method="post"
		class="yform" id="mainForm">
		<div>
			<table>
				<tr>
					<th>序号</th>
					<th>类型</th>
					<th>标题</th>
					<th>开始时间</th>
					<th>所在位置</th>
					<th>操作</th>
				</tr>
				<c:forEach items="${personalModels }" var="personalModel"
					varStatus="state">
					<tr>
						<td>${state.index+1 }</td>
						<td>${personalModel.type }</td>
						<td><pt:text limit="23">${personalModel.title }</pt:text></td>
						<td><fmt:formatDate
								value="${personalModel.taskImpl.createTime }"
								pattern="yyyy-MM-dd" /></td>
						<td>${personalModel.taskImpl.activityName }</td>
						<td><a
							href="javascript:openAlone('${ctx}/business/home!view.action?key=${personalModel.keyword}&fid=${personalModel.fid}&status=${personalModel.status}')">处理</a></td>
					</tr>
				</c:forEach>
			</table>
		</div>
	</form>
</body>
</html>